#ifndef MOVER_H
#define MOVER_H

#include "GraphicsArea/tooleffect.h"

class DrawingArea;

class Mover : public ToolEffect{

public:
    //************************************************************* Constructor
    Mover(DrawingArea* drawingAreaUse,QDockWidget* dockInfoTool);
    //************************************************************* Affichage of Dock Tool Info
    void createAffichage();
    //************************************************************* Mover movement
    void initMove(int x, int y);
    void moving(int x, int y);

private :
    Layer* layerToMove;
    // Represente the difference between the position of the layer and the position of the mover
    int differenceXToLayer;
    int differenceYToLayer;
};
#endif // MOVER_H
